package cn.haoma.base.http;

import android.content.Context;

import com.loopj.android.http.RequestParams;

/**
 * Created by ilioili on 2015/7/8.
 */
public class HttpTask {
    private RequestParams requestParams;
    private String url;
    private HttpMethod method;
    private Context context;
    private HttpCallBack httpCallBack;
    /**
     * 失败的时候重新请求的次数
     */
    private int repeat;
    private HttpCallBack callBack;

    public static enum HttpMethod {
        GET, POST, PUT
    }
}
